Automattic\WooCommerce\Blocks\BlockTypes\MiniCart A

Total Complexity 66
Dependencies 9
Dependents 0
Total lines 518
Lines of code 308
Logical lines of code 137
Comment lines 133
Methods 16
Properties 5

Methods 16

Method Rating Maintainability Complexity Lines of code
enqueue_data()
B
35 16 89
get_markup()
A
38 11 71
append_script_and_deps_src()
A
50 10 27
get_tax_label()
S
53 4 28
get_cart_price_markup()
S
59 4 13
get_block_type_script()
S
62 4 11
get_script_from_handle()
S
66 3 9
get_include_tax_label_markup()
S
68 3 6
get_inner_blocks_translations()
S
58 2 15
get_block_type_editor_script()
S
66 2 8
get_cart_payload()
S
67 2 8
__construct()
S
78 1 3
initialize()
S
75 1 4
render()
S
79 1 3
get_cart_controller()
S
81 1 3
register_empty_cart_message_block_pattern()
S
64 1 10